/**
 * 
 */
package org.tangram.component.xml;

import org.simpleframework.xml.convert.Converter;
import org.simpleframework.xml.stream.InputNode;
import org.simpleframework.xml.stream.OutputNode;

/**
 * @author han_feng
 * 
 */
public class ExtensionDefintionConverter implements
		Converter<ExtensionDefintion> {

	public ExtensionDefintion read(InputNode node) throws Exception {
		String point = node.getAttribute("point").getValue();
		ExtensionDefintion config = new ExtensionDefintion();
		config.setPoint(point);
		config.setNode(new ConfigInputNode(node));
		return config;
	}

	public void write(OutputNode node, ExtensionDefintion value)
			throws Exception {

	}

}
